/**     
 * @Title: Application.java   
 * @Package me.mq.exchange   
 * @Description: TODO
 * @author weiwei 
 * @date 2018年5月30日 上午10:40:45   
 * @version V1.0     
 */
package me.mq.exchange;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @ClassName: Application
 * @Description: TODO
 * @author weiwei
 * @date 2018年5月30日 上午10:40:45
 * 
 */
@SpringBootApplication
public class Application {

	/**
	 * @Title: main
	 * @Description: TODO
	 * @param args
	 * @Reutrn void
	 */
	public static void main(String[] args) {
		// SpringApplication.run(Application.class, args);
		SpringApplication app = new SpringApplication(Application.class);
		// app.setAdditionalProfiles("topic"); // topic 或direct 或fanout
		// app.setAdditionalProfiles("direct");// topic 或direct 或fanout
		app.setAdditionalProfiles("fanout");// topic 或direct 或fanout
		app.run(args);
	}

}
